/**
 * 类型定义模块入口
 * 简化版本，专注于内容分发平台的核心需求
 */

// 全局类型声明
declare global {
  var chrome: {
    runtime?: {
      id?: string;
      getManifest?: () => any;
      sendMessage?: (message: any, callback?: (response: any) => void) => void;
      lastError?: Error;
    };
    storage?: {
      local?: {
        get?: (key: string | string[], callback?: (result: any) => void) => Promise<any>;
        set?: (data: any, callback?: () => void) => Promise<void>;
      };
    };
    cookies?: {
      getAll?: (details: any) => Promise<any[]>;
    };
  };
}

// 导出核心类型定义
export * from './core';
export * from './adapters';


